<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>商品库管理后台</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="<{$siteurl}>/templates/<{$tempdir}>/public/shopcenter/css/commom.css" />
<link rel="stylesheet" type="text/css" href="<{$siteurl}>/templates/<{$tempdir}>/public/shopcenter/css/main.css" />
<link rel="stylesheet" type="text/css" href="<{$siteurl}>/templates/<{$tempdir}>/public/shopcenter/css/shangjiaAdmin.css" />
<script src="<{$siteurl}>/templates/<{$tempdir}>/public/js/jquery.js" type="text/javascript" language="javascript"></script>
<script src="<{$siteurl}>/templates/<{$tempdir}>/public/js/allj.js" type="text/javascript" language="javascript"></script>
<script type="text/javascript" language="javascript" src="<{$siteurl}>/templates/<{$tempdir}>/public/js/artdialog/artDialog.js?skin=blue"></script> 
<script src="<{$siteurl}>/templates/<{$tempdir}>/public/js/artdialog/plugins/iframeTools.js" type="text/javascript" language="javascript"></script>
<script> 
	var siteurl = "<{$siteurl}>"; 
</script>

<link href="<{$siteurl}>/js/SWFUpload/css/default.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="<{$siteurl}>/js/SWFUpload/swfupload/swfupload.js"></script>
<script type="text/javascript" src="<{$siteurl}>/js/SWFUpload/js/swfupload.queue.js"></script>
<script type="text/javascript" src="<{$siteurl}>/js/SWFUpload/js/fileprogress.js"></script>
<script type="text/javascript" src="<{$siteurl}>/js/SWFUpload/js/handlers.js"></script>  
<script type="text/javascript">
		var swfu; 
		window.onload = function() {
			var settings = {
				flash_url : "<{$siteurl}>/js/SWFUpload/swfupload/swfupload.swf",
				upload_url: "<{ofunc type=url link="/adminpage/other/module/piliang/datatype/json"}>",	// Relative to the SWF file
				post_params: "",
				file_size_limit : "100 MB",
				file_types : "*.*",
				file_post_name:'imgFile',
				file_types_description : "All Files",
				file_upload_limit : 100,
				file_queue_limit : 0,
				custom_settings : {
					progressTarget : "fsUploadProgress",
					cancelButtonId : "btnCancel"
				},
				debug: false,

				// Button settings
				button_image_url: "<{$siteurl}>/js/SWFUpload/images/TestImageNoText_65x29.png",	// Relative to the Flash file
				button_width: "100",
				button_height: "29",
				button_placeholder_id: "spanButtonPlaceHolder",
				button_text: '<span class="theFont">浏览上传</span>',
				button_text_style: ".theFont { font-size: 16; }",
				button_text_left_padding: 12,
				button_text_top_padding: 3,
				
				// The event handler functions are defined in handlers.js
				file_queued_handler : fileQueued,
				file_queue_error_handler : fileQueueError,
				file_dialog_complete_handler : fileDialogComplete,
				upload_start_handler : uploadStart,
				upload_progress_handler : uploadProgress,
				upload_error_handler : uploadError,
				upload_success_handler : uploadSuccess,
				upload_complete_handler : uploadComplete,
				queue_complete_handler : queueComplete	// Queue plugin event
			};

			swfu = new SWFUpload(settings);
	     };
	</script>



</head>
<body>
	<div style="position: fixed;top: 0;left: 0;right: 0;bottom: 0;z-index: -1;background:url(<{$siteurl}>/templates/<{$tempdir}>/public/shopcenter/images/background.png);background-size:cover;"></div>
<!---header start--->
<div class="header" style=" height:50px;">
  <div class="top" style=" height:50px;">
   <div class="topLeft fl">
            	<ul style="padding:0px;">
                 <li style="width:80px;padding:0px;margin:0px;height:50px;list-style: none; line-height:50px;"><a href="<{ofunc type=url link="/adminpage/shop/module/goodslibrary"}>">商品管理</a></li>
                 <li style="width:80px;padding:0px;margin:0px;height:50px;list-style: none;  line-height:50px;"><a style="color: #27A9E3;  font-size: 16px;  font-weight: bold;" href="<{ofunc type=url link="/adminpage/shop/module/swfupload"}>">上传图库</a></li>
			
                 <li style="width:80px;padding:0px;margin:0px;height:50px;list-style: none;  line-height:50px;"><a  href="<{ofunc type=url link="/adminpage/shop/module/showimglist"}>">图库预览</a></li>
			  </ul>
                 <div class="cl"></div>
            </div>
   
    <div class="topRight fr">  <span style=" height:50px; line-height:50px;cursor: pointer;" class="username" onclick="openlink('<{ofunc type=url link="/adminpage/order/module/orderlist"}>');">返回后台管理<img src="<{$siteurl}>/templates/<{$tempdir}>/public/shopcenter/images/usernameBg.png" /></span> </div>
    <div class="cl"></div>
    <div class="shangjiaTop" style=" top:-22px; margin-left:-150px;">
      <div class="sjglaa" style="background: rgba(0, 0, 0, 0) url(<{$siteurl}>/templates/<{$tempdir}>/public/shopcenter/images/goodslibtopbg.png) no-repeat scroll 0 0;"> </div>
    </div>
  </div>
</div>

<!---header end---> 
	

<div class="content">
	
	
	
  <!---content right start---> 
        <div class="conWaiSet fr">
        	
            <div class="shopSetTop">
            	<span>批量上传图片</span>
            </div>
      
             <div class="cl"></div>
                       
               

			   <div id="content"  style="background: url(<{$siteurl}>/templates/<{$tempdir}>/public/shopcenter/images/fenleiBg.png) repeat;padding: 100px;  width: 599px;">
	<form id="form1" action="index.php" method="post" enctype="multipart/form-data">
		<p>点击“浏览上传”按钮，选择您要上传的文档文件后，系统将自动上传并在完成后提示您。</p>
		<p style="padding-bottom:10px;">请勿上传包含中文文件名的文件！</p>
		<div class="fieldset flash" id="fsUploadProgress">
			<span class="legend">快速上传</span>
	  </div>
		<div id="divStatus">0 个文件已上传</div>
			<div>
				<span id="spanButtonPlaceHolder"></span>
				<input id="btnCancel" type="button" value="取消所有上传" onclick="swfu.cancelQueue();" disabled="disabled" style="margin-left: 2px; font-size: 8pt; height: 29px;" />
			</div>

	</form>
</div>

			   

			   
                
                
        </div>
        <div class="cl"></div>
        
        
       
        
        
        <!---content right end---> 
 
 
 </div>
 
 
	

	
	
	
	  <div id="palywave" style="display:none;"></div>
<!------以下是公共的底部部分------->
    <div class="footer">
    	<div class="foot1">
        <center>
        	<div class="db">
        	   <{if !empty($toplink)}>
	 	      <{$toplink = $toplink|unserialize}>
		  	  <{foreach from=$toplink key=myid item=items}> 
			         <a href="<{$items['typeurl']}>"><{$items['typename']}></a> | 
			    <{/foreach}>
			<{/if}> 
         
            </div></center>
            <div class="cl"></div>
        </div>
        <div class="foot2">
        	<p>@2008-2012 <{$sitename}> <{$beian}> <{$footerdata|stripslashes}></p>
        </div>
    </div> 

</body>

</html>